﻿namespace Ex03.GarageLogic
{
    /// <summary>
    /// This class will hold a string value Attribute for the enums
    /// see usage in <see cref="VehiclesConstructor"/>
    /// </summary>
    public class StringValue : System.Attribute
    {
        private string m_Value;

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="value">The value</param>
        public StringValue(string value)
        {
            m_Value = value;
        }
        
        /// <summary>
        /// A property to get the value
        /// </summary>
        public string Value
        {
            get { return m_Value; }
        }
    }
}